package postproblem

import (
	"myOJ/datastructure"
	"myOJ/db"
	"myOJ/testcasegeneration"
)

func rowPostProblemProcess(problemPost datastructure.ProblemPost) {

	db.PostMainProblem(problemPost.Ptitle, problemPost.Pdescription, problemPost.Poster, problemPost.AnswerCode)

	db.PostProblemInputArgs(problemPost.Ptitle, problemPost.Args)

	testcasegeneration.GenTest(problemPost)

}
